package com.test;

public class Student {
    public int i = 10;
    private int y;
    private final int x = 10;
    public void test(String str){
        System.out.println("达日朗" + "." + str);
    }

    private void test2(String str){
        System.out.println("萨二朗" + "." + str);
    }

    public void test3(String str, String str2){
        System.out.println("萨二朗" + "." + str);
    }

    public void test4(String... str){  //可变参数
        System.out.println("萨二朗" + "." + str);
    }

    public void test5(){
        System.out.println("萨五郎"+ "." + i);
    }

    public void test6(){
        System.out.println("萨六郎"+ "." + y);
    }

    public void test7(){
        System.out.println("萨七郎"+ "." + x);
    }
}
